import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import "./global.less";
import request from "@/utils/request";
import VueSplide from '@splidejs/vue-splide';
import '@splidejs/splide/dist/css/themes/splide-skyblue.min.css';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import VueCookies from 'vue-cookies'

const app = createApp(App);   //建立一个vue3app
app.use(store).use(router).use(ElementPlus).use(VueSplide).use(ElementPlusIconsVue).use(VueCookies).mount('#app')

app.config.globalProperties = request
